email me at borlaj@portlandschools.org
notes previous (09/07/06) submit the dump links  
 

Student grades activity

 

Start with this zip file.

 

 

Part 1 in groups:

I have a student class that has a constructor taking in a students first and last name.

Add so it contains an array of 20 grades - blank originally. Also have a variable numOfGrades=0;

Write the method - addGrade that will add a grade to that array. public void addGrade (int theGrade)

Write the method that will findAvg public double findAvg()

Write the method that will print student. public void printStudent()

 

Part 2:

Open names.txt and replace with this below:

Fournier,Dennis
Bell,Jared
Bizer,Max
Rhinehardt,Sadie
Liang,Anthony
Bernier,Matthew
Anderson,Megan
Holmes,Giles
Lowell,Duncan
Rideout,Jack
Roche,Jordan
Hussain Ali,Guled
Beaulieu,Taylor
Santiago,Peter
borland,jeff
Pang,Larry
Ahmed,Mohamed
Russell,Nate

 

Together we will work together with a database of students.